package com.sky.service;

import com.sky.dto.FindOrdersDTO;
import com.sky.dto.OrdersPaymentDTO;
import com.sky.dto.OrdersSubmitDTO;
import com.sky.entity.Order;
import com.sky.result.PageResult;
import com.sky.vo.*;

public interface IOrderService {
    OrderStatisticsVO getsSatistics();

    OrdersSubmitVO submit(OrdersSubmitDTO ordersSubmitDTO);

    PageResult<OrdersOverVO> historyOrders(Integer page, Integer pageSize, Integer status);

    void paySuccess(String outTradeNo);

    OrderPaymentVO payment(OrdersPaymentDTO ordersPaymentDTO) throws Exception;

    OrdersOverVO orderDetailById(Long id);

    void cancel(Long id);

    void repetition(Long id);

    PageResult<OrdersFindVO> conditionSearch(FindOrdersDTO findOrdersDTO);

    OrderVO details(Long id);

    void confirm(Long id);

    void delivery(Long id);

    void complete(Long id);

    void reminder(Long id);
}
